package com.jiangcheng.demo.service;

import com.jiangcheng.demo.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiangcheng.demo.utils.NewResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2021-07-26
 */
public interface CommentService extends IService<Comment> {

    NewResult findCommentsByArtId(int artId,int uId);

    NewResult findCommentsByTreeId(int tId);

    NewResult insertComment(Comment comment);
}
